Base class for test's output formatting. More...
Public Member Functions | |
OutputFormatter () | |
virtual | ~OutputFormatter () |
virtual nkLog::String | formatClassLaunch (const TestClassObserverInformation &info) |
virtual nkLog::String | formatClassBypass (const TestClassObserverInformation &info) |
virtual nkLog::String | formatClassEnd (const TestClassObserverInformation &info) |
virtual nkLog::String | formatTestLaunch (const TestFunctionObserverInformation &info) |
virtual nkLog::String | formatTestBypass (const TestFunctionObserverInformation &info) |
virtual nkLog::String | formatTestSuccess (const TestFunctionObserverInformation &info) |
virtual nkLog::String | formatTestFailure (const TestFunctionObserverInformation &info) |
Base class for test's output formatting.
To format results from tests, it is possible to implement this class. It can then be plugged within a test run's parameter structure.
nkDebug::OutputFormatter::OutputFormatter | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Called when a TestClass is being prepared to run its functions.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.
|
virtual |
Called when a TestClass is being bypassed.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.
|
virtual |
Called when a TestClass finished running its functions.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.
|
virtual |
Called when a TestClass' test function is starting.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.
|
virtual |
Called when a TestClass' test function is bypassed.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.
|
virtual |
Called when a TestClass' test function is succeeding.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.
|
virtual |
Called when a TestClass' test function is failing.
info | Current information about the run. |
Reimplemented in nkDebug::ConsoleOutputFormatter.